/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.modules.app.service;


import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.modules.PCguanli.entity.DriversDatcherEntity;
import io.renren.modules.app.entity.UserEntity;
import io.renren.modules.app.entity.UserWithCarNumber;
import io.renren.modules.app.form.LoginForm;
import io.renren.modules.app.user.UserPicUpdateVO;

import java.util.Date;

/**
 * 用户
 *
 * @author Mark sunlightcs@gmail.com
 */
public interface UserService extends IService<UserEntity> {
	UserEntity queryByOpenid(String openId);
	UserEntity queryByIphone(String iPhone);
	UserEntity queryByuserID(int userId);

	UserEntity updateUserInfo(int userId, String name,  String iPhone, String ID, int classification,String carnumber, int sex );

	UserEntity updateUserPic(UserPicUpdateVO userPicUpdate);
	UserEntity updateDatcherr(int userId, String name,  String iPhone, String ID, int classification, int sex);
}
